home *** CD-ROM | disk | FTP | other *** search
/ Aminet 43 / Aminet 43 (2001)(GTI - Schatztruhe)[!][Jun 2001].iso / Aminet / util / misc / ReportPlus.lha / ReportPlus / Source / anim_images.h < prev    next >
Text File  |  2001-04-28  |  14KB  |  330 lines

  1. /*
  2. ** Constants for a two plane boing(tm) ball and
  3. ** a one plane satellite.
  4. */
  5.  
  6. #define BNG3RINGY        0
  7. #define BNG3RINGX        0
  8. #define BNG3COUNT        6
  9. #define BNG3HEIGHT              13
  10. #define BNG3WIDTH        29
  11. #define BNG3DEPTH               2
  12. #define BNG3WWIDTH        ((BNG3WIDTH + 15) / 16)
  13.  
  14. #define SATCOUNT        16
  15. #define SATHEIGHT               3
  16. #define SATWIDTH        5
  17. #define SATDEPTH                1
  18. #define SATWWIDTH        ((SATWIDTH + 15) / 16)
  19.  
  20. SHORT boing3Times[BNG3COUNT] = { 1, 1, 1, 1, 1, 1 };
  21. SHORT boing3YTranses[BNG3COUNT] = { 0, 0, 0, 0, 0, 0 };
  22. SHORT boing3XTranses[BNG3COUNT] = { 0, 0, 0, 0, 0, 0 };
  23.  
  24. /* APTR boing3CRoutines[BNG3COUNT] */
  25. WORD (*boing3CRoutines[BNG3COUNT])(struct AnimComp *) =
  26.     {
  27.     NULL, NULL, NULL, NULL, NULL, NULL
  28.     };
  29.  
  30. UWORD chip boing3Image[BNG3COUNT][BNG3WWIDTH * BNG3HEIGHT * BNG3DEPTH] =
  31. {   /*----- bitmap Boing-A w = 32, h = 13 ------ */
  32.     {   /*------ plane # 0: --------*/
  33.                 0x0023,   0x0000, // ..........#...##................ 
  34.                 0x00E3,   0x3A00, // ........###...##..###.#.........
  35.                 0x0787,   0x8780, // .....####...###.#....####.......
  36.                 0x31F7,   0x8790, // ..##...#####.####....####..#....
  37.                 0x63E0,   0xFB90, // .##...#####.....#####.###..#....
  38.                 0x3BC0,   0xF870, // ..###.####......#####....###....
  39.                 0x383D,   0xF070, // ..###.....####.#####.....###....
  40.                 0x387C,   0x0EE0, // ..###....#####......###.###.....
  41.                 0x467C,   0x1E10, // .#...##..#####.....####....#....
  42.                 0x6787,   0x3E20, // .##..####....###..#####...#.....
  43.                 0x0F0F,   0x8700, // ....####....#####....###........
  44.                 0x0277,   0x1C00, // ......#..###.###...###..........
  45.                 0x0027,   0x2000, // ..........#...#.................
  46.                 // ------ plane # 1: --------
  47.                 0x003F,   0xE000, // ..........#########............. 
  48.                 0x03FF,   0xFF00, // ......##################........
  49.                 0x1FFF,   0xFFC0, // ...#######################......
  50.                 0x3FFF,   0xFFF0, // ..##########################....
  51.                 0x7FFF,   0xFFF0, // .###########################....
  52.                 0xFFFF,   0xFFF8, // #############################...
  53.                 0xFFFF,   0xFFF8, // #############################...
  54.                 0xFFFF,   0xFFF8, // #############################...
  55.                 0x7FFF,   0xFFF0, // .###########################....
  56.                 0x7FFF,   0xFFE0, // .##########################.....
  57.                 0x1FFF,   0xFFC0, // ...#######################......
  58.                 0x07FF,   0xFE00, // .....##################.........
  59.                 0x003F,   0xE000  // ..........#########.............
  60.         },
  61.     /*----- bitmap Boing-B w = 32, h = 25 ------ */
  62.         {
  63.         /*------ plane # 0: --------*/
  64.         0x0031,   0x8000, 
  65.         0x00F0,   0x1900, 
  66.         0x13C1,   0xE340, 
  67.         0x387B,   0xC390, 
  68.         0x70F8,   0x3DC0, 
  69.         0x9DF0,   0x7C30, 
  70.         0x9E1C,   0x7C30, 
  71.         0x1C1F,   0x0630, 
  72.         0x623F,   0x0798, 
  73.         0x23C1,   0x0F20, 
  74.         0x0BC3,   0xC380, 
  75.         0x023F,   0x8E00, 
  76.         0x0033,   0x8000,
  77.                 // ------ plane # 1: --------
  78.                 0x003F,   0xE000, // ..........#########............. 
  79.                 0x03FF,   0xFF00, // ......##################........
  80.                 0x1FFF,   0xFFC0, // ...#######################......
  81.                 0x3FFF,   0xFFF0, // ..##########################....
  82.                 0x7FFF,   0xFFF0, // .###########################....
  83.                 0xFFFF,   0xFFF8, // #############################...
  84.                 0xFFFF,   0xFFF8, // #############################...
  85.                 0xFFFF,   0xFFF8, // #############################...
  86.                 0x7FFF,   0xFFF0, // .###########################....
  87.                 0x7FFF,   0xFFE0, // .##########################.....
  88.                 0x1FFF,   0xFFC0, // ...#######################......
  89.                 0x07FF,   0xFE00, // .....##################.........
  90.                 0x003F,   0xE000  // ..........#########.............
  91.         },
  92.     /*----- bitmap Boing-C w = 32, h = 25 ------ */
  93.         {
  94.         /*------ plane # 0: --------*/
  95.         0x0019,   0xC000, 
  96.         0x0278,   0x8D00, 
  97.         0x11F0,   0xF140, 
  98.         0x1C39,   0xF0C0, 
  99.         0x387E,   0x0CE0, 
  100.         0x8C7C,   0x1F18, 
  101.         0x8F06,   0x1E18, 
  102.         0x8F07,   0xC018, 
  103.         0x300F,   0x83C8, 
  104.         0x31F0,   0x8780, 
  105.         0x11E1,   0xF1C0, 
  106.         0x071B,   0xC600, 
  107.         0x0031,   0x8000,
  108.                 //------ plane # 1: --------
  109.                 0x003F,   0xE000, // ..........#########............. 
  110.                 0x03FF,   0xFF00, // ......##################........
  111.                 0x1FFF,   0xFFC0, // ...#######################......
  112.                 0x3FFF,   0xFFF0, // ..##########################....
  113.                 0x7FFF,   0xFFF0, // .###########################....
  114.                 0xFFFF,   0xFFF8, // #############################...
  115.                 0xFFFF,   0xFFF8, // #############################...
  116.                 0xFFFF,   0xFFF8, // #############################...
  117.                 0x7FFF,   0xFFF0, // .###########################....
  118.                 0x7FFF,   0xFFE0, // .##########################.....
  119.                 0x1FFF,   0xFFC0, // ...#######################......
  120.                 0x07FF,   0xFE00, // .....##################.........
  121.                 0x003F,   0xE000  // ..........#########.............
  122.         },
  123.     /*----- bitmap : w = 32, h = 25 ------ */
  124.         {
  125.         /*------ plane Boing-D 0: --------*/
  126.         0x001C,   0xE000, 
  127.         0x031C,   0xC500, 
  128.         0x1878,   0x7840, 
  129.         0x0E08,   0x7860, 
  130.         0x1C1F,   0x0460, 
  131.         0xC43F,   0x0788, 
  132.         0xC7C0,   0x0F88, 
  133.         0xC783,   0xF118, 
  134.         0x3983,   0xE1E0, 
  135.         0x1878,   0xC1C0, 
  136.         0x10F0,   0x78C0, 
  137.         0x0588,   0xE200, 
  138.         0x0018,   0xC000,
  139.                 //------ plane # 1: --------
  140.                 0x003F,   0xE000, // ..........#########............. 
  141.                 0x03FF,   0xFF00, // ......##################........
  142.                 0x1FFF,   0xFFC0, // ...#######################......
  143.                 0x3FFF,   0xFFF0, // ..##########################....
  144.                 0x7FFF,   0xFFF0, // .###########################....
  145.                 0xFFFF,   0xFFF8, // #############################...
  146.                 0xFFFF,   0xFFF8, // #############################...
  147.                 0xFFFF,   0xFFF8, // #############################...
  148.                 0x7FFF,   0xFFF0, // .###########################....
  149.                 0x7FFF,   0xFFE0, // .##########################.....
  150.                 0x1FFF,   0xFFC0, // ...#######################......
  151.                 0x07FF,   0xFE00, // .....##################.........
  152.                 0x003F,   0xE000  // ..........#########.............
  153.         },
  154.     /*----- bitmap : w = 32, h = 25 ------ */
  155.         {
  156.         /*------ plane Boing-E 0: --------*/
  157.         0x000E,   0x6000, 
  158.         0x030F,   0xE600, 
  159.         0x0C3E,   0x1C80, 
  160.         0x0784,   0x3C60, 
  161.         0x8F07,   0xC230, 
  162.         0x620F,   0x83C8, 
  163.         0x61E1,   0x83C8, 
  164.         0x63E0,   0xF9C8, 
  165.         0x1DC0,   0xF860, 
  166.         0x5C3E,   0xF0C0, 
  167.         0x143C,   0x3C40, 
  168.         0x05C0,   0x7000, 
  169.         0x000C,   0x6000,
  170.                 //------ plane # 1: --------
  171.                 0x003F,   0xE000, // ..........#########............. 
  172.                 0x03FF,   0xFF00, // ......##################........
  173.                 0x1FFF,   0xFFC0, // ...#######################......
  174.                 0x3FFF,   0xFFF0, // ..##########################....
  175.                 0x7FFF,   0xFFF0, // .###########################....
  176.                 0xFFFF,   0xFFF8, // #############################...
  177.                 0xFFFF,   0xFFF8, // #############################...
  178.                 0xFFFF,   0xFFF8, // #############################...
  179.                 0x7FFF,   0xFFF0, // .###########################....
  180.                 0x7FFF,   0xFFE0, // .##########################.....
  181.                 0x1FFF,   0xFFC0, // ...#######################......
  182.                 0x07FF,   0xFE00, // .....##################.........
  183.                 0x003F,   0xE000  // ..........#########.............
  184.         },
  185.     /*----- bitmap : w = 32, h = 25 ------ */
  186.         {
  187.                 /*------ plane Boing-F 0: --------*/
  188.         0x0026,   0x2000, 
  189.         0x0187,   0x7200, 
  190.         0x0E0F,   0x0E80, 
  191.         0x23C6,   0x0F30, 
  192.         0x4781,   0xF310, 
  193.         0x7383,   0xE0E0, 
  194.         0x70F9,   0xE1E0, 
  195.         0x70F8,   0x3FE0, 
  196.         0x4FF0,   0x7C30, 
  197.         0x4E0F,   0x7860, 
  198.         0x0E1E,   0x0E00, 
  199.         0x00E4,   0x3800, 
  200.         0x000E,   0x6000,
  201.                 //------ plane # 1: --------
  202.                 0x003F,   0xE000, // ..........#########............. 
  203.                 0x03FF,   0xFF00, // ......##################........
  204.                 0x1FFF,   0xFFC0, // ...#######################......
  205.                 0x3FFF,   0xFFF0, // ..##########################....
  206.                 0x7FFF,   0xFFF0, // .###########################....
  207.                 0xFFFF,   0xFFF8, // #############################...
  208.                 0xFFFF,   0xFFF8, // #############################...
  209.                 0xFFFF,   0xFFF8, // #############################...
  210.                 0x7FFF,   0xFFF0, // .###########################....
  211.                 0x7FFF,   0xFFE0, // .##########################.....
  212.                 0x1FFF,   0xFFC0, // ...#######################......
  213.                 0x07FF,   0xFE00, // .....##################.........
  214.                 0x003F,   0xE000  // ..........#########.............
  215.         }
  216.     };
  217.  
  218. /*
  219. ** Orbit  goes from far top -> mid l  -> near bot -> mid right
  220. */
  221.  
  222. /*-----------------------------------------------------------------*/
  223. SHORT satTimes[SATCOUNT] =
  224.     {
  225.     1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1
  226.     };
  227.  
  228. /* APTR satACRoutines[SATCOUNT] */
  229. WORD (*satACRoutines[SATCOUNT])(struct AnimComp *) =
  230.     {
  231.     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
  232.     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
  233.     };
  234.  
  235. SHORT satAYTranses[SATCOUNT] =
  236.     {
  237.     ( 18<<BNFS)+((BNG3HEIGHT/2)<<ANFS),( 17<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  238.     ( 15<<BNFS)+((BNG3HEIGHT/2)<<ANFS),( 11<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  239.     (  0<<BNFS)+((BNG3HEIGHT/2)<<ANFS),(-11<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  240.     (-15<<BNFS)+((BNG3HEIGHT/2)<<ANFS),(-17<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  241.     (-18<<BNFS)+((BNG3HEIGHT/2)<<ANFS),(-17<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  242.     (-15<<BNFS)+((BNG3HEIGHT/2)<<ANFS),(-11<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  243.     (  0<<BNFS)+((BNG3HEIGHT/2)<<ANFS),( 11<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  244.     ( 15<<BNFS)+((BNG3HEIGHT/2)<<ANFS),( 17<<BNFS)+((BNG3HEIGHT/2)<<ANFS)
  245.     };
  246.  
  247. SHORT satAXTranses[SATCOUNT] =
  248.     {
  249.     (  0<<BNFS)+((BNG3WIDTH/2)<<ANFS),( 22<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  250.     ( 45<<BNFS)+((BNG3WIDTH/2)<<ANFS),( 66<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  251.     ( 80<<BNFS)+((BNG3WIDTH/2)<<ANFS),( 66<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  252.     ( 45<<BNFS)+((BNG3WIDTH/2)<<ANFS),( 22<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  253.     (  0<<BNFS)+((BNG3WIDTH/2)<<ANFS),(-22<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  254.     (-45<<BNFS)+((BNG3WIDTH/2)<<ANFS),(-66<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  255.     (-80<<BNFS)+((BNG3WIDTH/2)<<ANFS),(-66<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  256.     (-45<<BNFS)+((BNG3WIDTH/2)<<ANFS),(-22<<BNFS)+((BNG3WIDTH/2)<<ANFS)
  257.     };
  258.  
  259. /* APTR satBCRoutines[SATCOUNT] */
  260. WORD (*satBCRoutines[SATCOUNT])(struct AnimComp *) =
  261.     {
  262.     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
  263.     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
  264.     };
  265.  
  266. /*----- bitmap : w = 5, h = 5 ------ */
  267. SHORT satBYTranses[SATCOUNT] =
  268.     {
  269.     (-57<<BNFS)+((BNG3HEIGHT/2)<<ANFS),(-40<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  270.     (-23<<BNFS)+((BNG3HEIGHT/2)<<ANFS),( -6<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  271.     ( 13<<BNFS)+((BNG3HEIGHT/2)<<ANFS),( 27<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  272.     ( 41<<BNFS)+((BNG3HEIGHT/2)<<ANFS),( 53<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  273.     ( 57<<BNFS)+((BNG3HEIGHT/2)<<ANFS),( 40<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  274.     ( 22<<BNFS)+((BNG3HEIGHT/2)<<ANFS),(  4<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  275.     (-13<<BNFS)+((BNG3HEIGHT/2)<<ANFS),(-28<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  276.     (-43<<BNFS)+((BNG3HEIGHT/2)<<ANFS),(-55<<BNFS)+((BNG3HEIGHT/2)<<ANFS)
  277.     };
  278.  
  279. SHORT satBXTranses[SATCOUNT] =
  280.     {
  281.     (-57<<BNFS)+((BNG3WIDTH/2)<<ANFS),(-53<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  282.     (-41<<BNFS)+((BNG3WIDTH/2)<<ANFS),(-27<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  283.     (-13<<BNFS)+((BNG3WIDTH/2)<<ANFS),(  6<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  284.     ( 23<<BNFS)+((BNG3WIDTH/2)<<ANFS),( 40<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  285.     ( 57<<BNFS)+((BNG3WIDTH/2)<<ANFS),( 55<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  286.     ( 43<<BNFS)+((BNG3WIDTH/2)<<ANFS),( 28<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  287.     ( 13<<BNFS)+((BNG3WIDTH/2)<<ANFS),( -4<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  288.     (-22<<BNFS)+((BNG3WIDTH/2)<<ANFS),(-40<<BNFS)+((BNG3WIDTH/2)<<ANFS)
  289.     };
  290.  
  291. /* APTR satCCRoutines[SATCOUNT] */
  292. WORD (*satCCRoutines[SATCOUNT])(struct AnimComp *) =
  293.     {
  294.     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
  295.     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
  296.     };
  297.  
  298. /*----- bitmap : w = 5, h = 5 ------ */
  299. SHORT satCYTranses[SATCOUNT] =
  300.     {
  301.     (-13<<BNFS)+((BNG3HEIGHT/2)<<ANFS),(  4<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  302.     ( 22<<BNFS)+((BNG3HEIGHT/2)<<ANFS),( 40<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  303.     ( 57<<BNFS)+((BNG3HEIGHT/2)<<ANFS),( 53<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  304.     ( 41<<BNFS)+((BNG3HEIGHT/2)<<ANFS),( 27<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  305.     ( 13<<BNFS)+((BNG3HEIGHT/2)<<ANFS),( -6<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  306.     (-23<<BNFS)+((BNG3HEIGHT/2)<<ANFS),(-40<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  307.     (-57<<BNFS)+((BNG3HEIGHT/2)<<ANFS),(-55<<BNFS)+((BNG3HEIGHT/2)<<ANFS),
  308.     (-43<<BNFS)+((BNG3HEIGHT/2)<<ANFS),(-28<<BNFS)+((BNG3HEIGHT/2)<<ANFS)
  309.     };
  310.  
  311. SHORT satCXTranses[SATCOUNT] =
  312.     {
  313.     (-13<<BNFS)+((BNG3WIDTH/2)<<ANFS),(-28<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  314.     (-43<<BNFS)+((BNG3WIDTH/2)<<ANFS),(-55<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  315.     (-57<<BNFS)+((BNG3WIDTH/2)<<ANFS),(-40<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  316.     (-23<<BNFS)+((BNG3WIDTH/2)<<ANFS),( -6<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  317.     ( 13<<BNFS)+((BNG3WIDTH/2)<<ANFS),( 27<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  318.     ( 41<<BNFS)+((BNG3WIDTH/2)<<ANFS),( 53<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  319.     ( 57<<BNFS)+((BNG3WIDTH/2)<<ANFS),( 40<<BNFS)+((BNG3WIDTH/2)<<ANFS),
  320.     ( 22<<BNFS)+((BNG3WIDTH/2)<<ANFS),(  4<<BNFS)+((BNG3WIDTH/2)<<ANFS)
  321.     };
  322.  
  323. /*-----------------------------------------------------------------*/
  324. /*----- bitmap : w = 5, h = 5 ------ */
  325. UWORD chip satImage[1][SATWWIDTH * SATHEIGHT * SATDEPTH] =
  326. {   0x7000, // .##@....
  327.     0xF800, // @##@@...
  328.     0x7000  // .@@@....
  329. };
  330.